package src.elevent;

public class ThrowException {
    public static void throwException() throws ClassNotFoundException {
//        throw new UnsupportedOperationException("方法尚未实现");
        Class.forName("java.sghj.gsdhg");
    }

    public static void main(String[] args) {
        try {
            ThrowException.throwException();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
